package com.cloud.api.domain.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "VersionDescription", description = "修改版本描述")
public class VersionDescription implements Serializable {

    @Schema(description = "唯一主键")
    @NotEmpty(message = "主键不能为空")
    private String versionId;

    @Schema(description = "更新描述")
    @Size(max = 500,message = "限制500字符")
    private String updateDescription;
}
